package io.codegeneratetool.impl.entity.dbutil;


public class TableInfoGetterFactory {

	public static TableInfoGetter get(String dreverName) throws Exception{
		
		if(dreverName.toLowerCase().indexOf("mysql")>0){
			return new MysqlTableInfoGetter();
		}
		if(dreverName.toLowerCase().indexOf("oracle")>0){
			return new OracleTableInfoGetter();
		}
		 
		throw new Exception("暂时无此数据库实现"); 
	}
	
	
	
	
}
